package com.zzyl.nursing.service;

import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.CountByTimeDto;

import java.util.List;

public interface ReservationService {
    int getCancelledCount();

    List<CountByTimeDto> countReservationsForTime(Long time);

    void add(Reservation reservation);

    List<Reservation> selectReservationList(Reservation reservation);

    void updateStatus(Long id);
}
